package com.itheima.redisTest;

import redis.clients.jedis.Jedis;

public class RedisDemo01 {
    public static void main(String[] args) {
        //创建连接对象
        Jedis jedis = new Jedis("192.168.120.129",6381);
        //具体操作
        jedis.set("java","Hello Java");
        //关闭连接
        jedis.close();
    }
}
